<form action="/own/save" method="post">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
	<tr>
		<td colspan="2" height="3px" bgcolor="#B4004A"></td>
	</tr>
	<tr>
		<td colspan="2" style="padding-top:10px;"><a class="a_menu_non" style="font-weight:bold;">Форма регистрации</a></td>
	</tr>
	
	
	{foreach item=OneError from=$Error}
	{if $OneError}
	<tr>
		<td colspan="2" style="padding-top:10px;"><div class="error">{$OneError}</div></td>
	</tr>
	{/if}
	{/foreach}
	<tr>
		<td width="40%" style="padding-top:5px;"><a class="grey">Ф.И.О. :</a></td>
		<td width="60%" style="padding-top:5px;" align="right">
			<input type="text" name="m[full_name]" size="60" style="width:320px;" height="20px" class="grey" value="{$User->full_name}"/>
		</td>
	</tr>
	<tr>
		<td width="40%" style="padding-top:5px;" valign="top"><a class="grey">Дата рождения :</a></td>
		<td width="60%" style="padding-top:5px;" align="right" class="grey">
			{html_select_date start_year=-100 end_year=-1 reverse_years=true field_array=birth all_extra='class="grey"' field_order="DMY" time=$User->birth_date}
		</td>
	</tr>
	<tr>
		<td width="40%" style="padding-top:5px;"><a class="grey">Логин *** :</a></td>
		<td width="60%" style="padding-top:5px;" align="right">
			<a class="grey" style="font-weight: bold;">{$User->login}</a>
		</td>
	</tr>
	<tr>
		<td width="40%" style="padding-top:5px;"><a class="grey">Пароль **:</a></td>
		<td width="60%" style="padding-top:5px;" align="right">
			<input type="password" name="m[password]" style="width:320px;" size="60" height="20px" class="grey" value=""/>
		</td>
	</tr>
	<tr>
		<td width="40%" style="padding-top:5px;"><a class="grey">Подтверждение пароля **:</a></td>
		<td width="60%" style="padding-top:5px;" align="right">
			<input type="password" name="m[password1]" style="width:320px;" size="60" height="20px" class="grey" value=""/>
		</td>
	</tr>
	<tr>
		<td width="40%" style="padding-top:5px;"><a class="grey">e-mail *:</a></td>
		<td width="60%" style="padding-top:5px;" align="right">
			<input type="text" name="m[email]" size="60" style="width:320px;" height="20px" class="grey" value="{$User->email}"/>
		</td>
	</tr>
	<tr>
		<td width="40%" style="padding-top:5px;"><a class="grey">Пол :</a></td>
		<td width="60%" style="padding-top:5px;" align="right" class="grey">
			Муж :<input type="radio" value="m" name="m[gender]" {if $User->gender=='m'}checked{/if}/>&nbsp;&nbsp;&nbsp;&nbsp;
			Жен :<input type="radio" value="f" name="m[gender]" {if $User->gender=='f'}checked{/if}/>
		</td>
	</tr>
	<tr>
		<td width="40%" style="padding-top:5px;"><a class="grey">Город проживания :</a></td>
		<td width="60%" style="padding-top:5px;" align="right">
			<input type="text" name="m[city]" size="60" style="width:320px;" height="20px" class="grey" value="{$User->city}"/>
		</td>
	</tr>
	<tr>
		<td width="40%" style="padding-top:5px;"><a class="grey">Посещённые страны :</a></td>
		<td width="60%" style="padding-top:5px;" align="right">
			<input type="text" name="m[visited_countries]" style="width:320px;" size="60" height="20px" class="grey" value="{$User->visited_countries}"/>
		</td>
	</tr>
	<tr>
		<td colspan="2" style="padding-top:20px;" align="right"><input type="submit" value="Сохранить" class="but" height="15px"></td>
	</tr>
	<tr>
		<td colspan="2" align="left" style="padding-top:10px;">
			<a class="grey4">* - отмечены обязательные для заполнения поля.</a><br>
			<a class="grey4">** - если вы не хотите менять пароль то оставьте поля пустыми.</a>
			<a class="grey4">*** - сменить логин нельзя.</a>
		</td>
	</tr>
</table>
</form>
